package com.xzgj.fmmall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ShoppingCartVO对象",description = "购物车信息")
public class ShoppingCartVO {
    @ApiModelProperty(dataType = "cart_id",value = "购物车id",required = false)
    @Id
    private Integer cart_id;
    @ApiModelProperty(dataType = "product_id",required = true,value = "商品id")
    private String product_id;
    @ApiModelProperty(dataType = "sku_id",required = true,value = "套餐id")
    private String sku_id;
    @ApiModelProperty(dataType = "user_id",required = true,value = "用户id")
    private String user_id;
    @ApiModelProperty(dataType = "cart_num",required = true,value = "购物车商品数量")
    private String cart_num;
    @ApiModelProperty(dataType = "cart_time",required = true,value = "时间")
    private String cart_time;
    @ApiModelProperty(dataType = "product_price",required = true,value = "商品价格")
    private String product_price;
    @ApiModelProperty(dataType = "sku_props",required = true,value = "套餐属性")
    private String sku_props;
    @ApiModelProperty(dataType = "product_name",required = true,value = "商品名称")
    private String product_name;
    @ApiModelProperty(dataType = "productImg",required = true,value = "商品图片")
    private String productImg;

    @ApiModelProperty(dataType = "original_price",required = true,value = "原价")
    private String original_price;
    @ApiModelProperty(dataType = "sell_price",required = true,value = "售价")
    private String sell_price;
    @ApiModelProperty(dataType = "sku_name",required = true,value = "套餐名称")
    private String sku_name;
    @ApiModelProperty(dataType = "stock",required = true,value = "商品库存")
    private int stock;

}
